﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BluetoothMachine.GlobalStatics
{
    /// <summary>
    /// 文件参数
    /// </summary>
    public class FixedParameter
    {
        private static string _path = AppDomain.CurrentDomain.BaseDirectory;

        /// <summary>
        /// 目录config
        /// </summary>
        public static string ConfigPath { get => $"{_path}\\config"; }

        /// <summary>
        /// device.txt
        /// </summary>
        public static string DevicePath {
            get => $"{_path}\\config\\device.txt";
        }

        /// <summary>
        /// parameter.txt
        /// </summary>
        public static string ParameterPath {
            get => $"{_path}\\config\\parameter.txt";
        }
        /// <summary>
        /// file.txt
        /// </summary>
        public static string FileModelPath {
            get => $"{_path}\\config\\file.txt";
        }

        /// <summary>
        /// rcc.txt
        /// </summary>
        public static string RCCPath { get => $"{_path}\\config\\rcc.txt"; }
        /// <summary>
        /// production_point.txt
        /// </summary>
        public static string PPPath { get => $"{_path}\\config\\production_point.txt"; }
        public static string InfraredPath { get => $"{_path}\\infrared\\"; }
        /// <summary>
        /// user.txt
        /// </summary>
        public static string UserPath { get => $"{_path}\\config\\user.txt"; }

        /// <summary>
        /// 3800-1.ini
        /// </summary>
        public static string LTDMC38001 { get => $"{_path}3800-1.ini"; }

        /// <summary>
        /// 3800-0.ini
        /// </summary>
        public static string LTDMC38000 { get => $"{_path}3800-0.ini"; }
        public static string DES_KEY { get => "12560695"; }

        public static string DES_IV { get => "k164s453"; }
        public static bool IsDeBug { get {
#if DEBUG
                return true;
#endif

                return false;
            } } 
    }
}
